import Vue from 'vue'
import App from './App.vue'
import iView from 'iview';
import VueRouter from 'vue-router';
import routes from './router/routes';
import './my-theme/my-theme.less';

(process.env.NODE_ENV === 'development') && require('./mock.js');

Vue.config.productionTip = false

Vue.use(iView);
Vue.use(VueRouter);
const router = new VueRouter({
  routes
})
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
